package business {

	public class CurrencyConverter {
		public function CurrencyConverter() {
		}

		public function convert(amount:Number, sourceCurrency:Currency, targetCurrency:Currency):Number {
			var neutral:Number = amount / sourceCurrency.rate;
			return neutral * targetCurrency.rate;
		}
	}
}